// 列表每列
export const listColumns = [
  { title: '围栏名称', dataIndex: 'fenceName' },
  { title: '围栏说明', dataIndex: 'electricRemark' },
  { title: '规则', dataIndex: 'ruleName' },
  { title: '应用门店', dataIndex: 'siteNameList', slotName: 'siteNameList' },
  { title: '应用车辆', dataIndex: 'carInfoList', slotName: 'carInfoList' },
  { title: '围栏范围', dataIndex: 'fenceList', slotName: 'fenceList' },
  { title: '围栏状态', dataIndex: 'statusName', slotName: 'statusName' },
]

// from
export const formRules = {
  fenceName: { required: true, message: '请输入', trigger: 'change' },
  rule: { required: true, message: '请输入', trigger: 'change' },
  siteList: { required: true, message: '请选择', trigger: 'change' },
  carInfoList: { required: true, message: '请选择', trigger: 'change' },
  status: { required: true, message: '请选择', trigger: 'change' },
  electricFenceList: { required: true, message: '请选择', trigger: 'change' },
}
// 编辑围栏校验
export const formFenceRules = {
  fenceType: { required: true, message: '请选择', trigger: 'change' },
  pointProvinceCode: { required: true, message: '请完善必填项信息', trigger: 'change' },
}
